﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Web;
using System.Web.Security;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DbAdapter.sqldbAdapter;


namespace WaterService
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码、svc 和配置文件中的类名“Service1”。
    //CodeBehind="Users.svc.cs"
    public class Users : IUsers
    {
        public string GetPass(string loguser)
        {            
            return loguser;
        }

        public bool PassValidation(string uname, string pass)
        {
            return Membership.ValidateUser(uname, pass);
        }
        
    }
}
